<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>

<VBox alignment="CENTER" minHeight="500.0" minWidth="550.0" prefHeight="600.0" prefWidth="500.0" spacing="20.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/19" fx:controller="com.example.t10v26.HelloController">
    <padding>
        <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
    </padding>
   <children>
      <HBox minHeight="550.0" minWidth="500.0" prefHeight="550.0" prefWidth="500.0">
         <children>
            <VBox alignment="TOP_CENTER" minHeight="500.0" minWidth="250.0" prefHeight="500.0" prefWidth="250.0">
               <children>
                  <ListView fx:id="inputCandyList" minHeight="500.0" minWidth="250.0" prefHeight="500.0" prefWidth="250.0" />
                  <Label text="Candy-price" />
                  <TextField fx:id="candyAddTF" />
                  <Button fx:id="addCandyBtn" alignment="CENTER" contentDisplay="CENTER" mnemonicParsing="false" onAction="#addCandyClick" text="Add" textAlignment="CENTER" textOverrun="CENTER_ELLIPSIS" />
               </children>
            </VBox>
            <VBox alignment="TOP_CENTER" minHeight="500.0" minWidth="250.0" prefHeight="500.0" prefWidth="250.0">
               <children>
                  <ListView fx:id="outputCandyList" minHeight="500.0" minWidth="250.0" prefHeight="500.0" prefWidth="250.0" />
                  <Label text="Amount of money" />
                  <TextField fx:id="amoungMoneyTF" />
                  <Button fx:id="solveBtn" mnemonicParsing="false" onAction="#solveClick" text="Solve" />
               </children>
            </VBox>
         </children>
      </HBox>
   </children>
</VBox>
